package com.yoyo.itravel.service;

import com.yoyo.itravel.bean.SightTheme;
import com.yoyo.itravel.exceptions.SightThemeException;

import java.util.List;

/**
 * @Description 景点主题操作服务层接口
 *
 * @author HZX
 * @date 2020/5/9 13:29
 */
public interface ISightThemeService {

    /**
     * @Description 新增景点主题
     *
     * @param theme
     * @return boolean
     */
    boolean addSightTheme(SightTheme theme) throws SightThemeException;

    /**
     * @Description 查找所有的景点主题
     *
     * @param
     * @return java.util.List<cn.hut.travel.bean.SightTheme>
     */
    List<SightTheme> findAllTheme() throws SightThemeException;
}
